gtk4.git
7 years agogtkscrolledwindow: Consider shift key presses when decelerating
Sebastian Keller [Sat, 4 Aug 2018 14:24:33 +0000 (16:24 +0200)]
gtkscrolledwindow: Consider shift key presses when decelerating

Otherwise horizontal scrolling using the shift key would decelerate
vertically.

Fixes https://gitlab.gnome.org/GNOME/gtk/issues/770

7 years agoUpdate German translation
Mario Blättermann [Sat, 4 Aug 2018 11:25:21 +0000 (11:25 +0000)]
Update German translation

7 years agoMerge branch 'sidebar-spinner-visibility' into 'master'
Ernestas Kulik [Fri, 3 Aug 2018 10:45:04 +0000 (10:45 +0000)]
Merge branch 'sidebar-spinner-visibility' into 'master'

sidebarrow: Hide busy_spinner by default

See merge request GNOME/gtk!285

7 years agosidebarrow: Hide busy_spinner by default
Ernestas Kulik [Fri, 3 Aug 2018 10:29:07 +0000 (13:29 +0300)]
sidebarrow: Hide busy_spinner by default

Since the original implementation was likely based on GTK+ 3, the change
in default visibility might have not been considered, which results in
all rows suddenly sporting a visible spinner when opening a fresh file
chooser.

7 years agoMerge branch 'fix-app-id' into 'master'
Matthias Clasen [Fri, 3 Aug 2018 02:09:09 +0000 (02:09 +0000)]
Merge branch 'fix-app-id' into 'master'

Make xdg-shell's app_id match GApplication's application-id property

Closes #653

See merge request GNOME/gtk!284

7 years agocolor picker: Also try kwin
Matthias Clasen [Fri, 3 Aug 2018 00:55:07 +0000 (20:55 -0400)]
color picker: Also try kwin

use a kwin color picker when we run under kwin.

7 years agoOnly use the portal color picker when appropriate
Matthias Clasen [Fri, 3 Aug 2018 00:54:21 +0000 (20:54 -0400)]
Only use the portal color picker when appropriate

This is just moving this check around.

7 years agoAdd a kwin color picker
Matthias Clasen [Fri, 3 Aug 2018 00:53:37 +0000 (20:53 -0400)]
Add a kwin color picker

This uses the org.kde.kwin.ColorPicker interface.

7 years agoMerge branch 'gbsneto/issue-1258' into 'master'
Benjamin Otte [Thu, 2 Aug 2018 14:14:10 +0000 (14:14 +0000)]
Merge branch 'gbsneto/issue-1258' into 'master'

listbox: Unparent child after removing from sequence

Closes #1258

See merge request GNOME/gtk!283

7 years agolistbox: Store child iter in a variable when removing
Georges Basile Stavracas Neto [Thu, 2 Aug 2018 06:29:33 +0000 (03:29 -0300)]
listbox: Store child iter in a variable when removing

Unparenting a GtkListBoxRow can drop its last reference, which
will free its memory. Right after unparenting, though, we were
accessing the row's iter - which assumes that the row is still
alive. This causes a crash when, for example, binding two or
more models to the listbox.

Fix that by storing the iter in a variable, and not trying to
access it after unparenting. After unparenting, the variables
that are potentially garbage were explicitly assigned NULL for
clarity.

Fixes https://gitlab.gnome.org/GNOME/gtk/issues/1258

7 years agodemos: Make desktop file names match the application id
Guido Günther [Thu, 2 Aug 2018 09:03:41 +0000 (11:03 +0200)]
demos: Make desktop file names match the application id

7 years agoexamples: Use appliction id as desktop file base name
Guido Günther [Thu, 2 Aug 2018 09:03:41 +0000 (11:03 +0200)]
examples: Use appliction id as desktop file base name

7 years agodocs: Explain desktop file id == application_id in migration guide
Guido Günther [Thu, 2 Aug 2018 09:03:41 +0000 (11:03 +0200)]
docs: Explain desktop file id == application_id in migration guide

7 years agogdk: Use application_id as xdg_shell's app_id if available
Guido Günther [Thu, 2 Aug 2018 09:03:41 +0000 (11:03 +0200)]
gdk: Use application_id as xdg_shell's app_id if available

This (manually) reverts commit e1fd87728dd841cf1d71025983107765e395b152

This makes sure xdg_shell's app_id matches the DBus name of the the
appliation when using GtkApplication. It also allows the compositor to
derive the desktop file ID from the app_id:

   https://cgit.freedesktop.org/wayland/wayland-protocols/tree/stable/xdg-shell/xdg-shell.xml?id=298d888ac718eae57ff2245d373d4327074506ea#n598

Closes #653

7 years agocontainer: Remove focus chains
Benjamin Otte [Tue, 31 Jul 2018 19:48:39 +0000 (21:48 +0200)]
container: Remove focus chains

They're prectically unused.

Widgets who want to influcence the focus chain behavior should implement
GtkWidgetClass::focus and deal with focus there.

7 years agowidgetfocus: Fix copy/paste error
Benjamin Otte [Tue, 31 Jul 2018 18:58:10 +0000 (20:58 +0200)]
widgetfocus: Fix copy/paste error

This lead to erratic focus behavior with <Tab> in hboxes, where the
smallest child got focus first instead of the leftmost child.

7 years agocolorpicker: Fix gcc warning
Benjamin Otte [Tue, 31 Jul 2018 05:24:45 +0000 (07:24 +0200)]
colorpicker: Fix gcc warning

7 years agoMention gtk_widget_show_all in the migration guide
Matthias Clasen [Tue, 31 Jul 2018 17:29:32 +0000 (13:29 -0400)]
Mention gtk_widget_show_all in the migration guide

This function is gone.

Closes https://gitlab.gnome.org/GNOME/gtk/issues/1242

7 years agoMerge branch 'issue1214-tooltips-win32-gtk4' into 'master'
Matthias Clasen [Tue, 31 Jul 2018 11:37:28 +0000 (11:37 +0000)]
Merge branch 'issue1214-tooltips-win32-gtk4' into 'master'

Gdk-Win32: Correct handling of transient state changes

See merge request GNOME/gtk!280

7 years agoGdk-Win32: Correct handling of transient state changes
Luca Bacci [Tue, 31 Jul 2018 08:50:06 +0000 (10:50 +0200)]
Gdk-Win32: Correct handling of transient state changes

See merge request !248

7 years agobindings: Remove GTK_TYPE_IDENTIFIER
Benjamin Otte [Tue, 31 Jul 2018 04:44:23 +0000 (06:44 +0200)]
bindings: Remove GTK_TYPE_IDENTIFIER

bindings now treat identifiers and strings the same way.

The only difference was that one allowed lookup of enum/flags by name
while the other didn't and g_warning()ed. Now both work.

7 years agocolor picker: Better debug spew
Matthias Clasen [Mon, 30 Jul 2018 21:59:16 +0000 (17:59 -0400)]
color picker: Better debug spew

This will help in debugging issues.

7 years agoUpdated Czech translation
Marek Cernocky [Mon, 30 Jul 2018 21:13:35 +0000 (23:13 +0200)]
Updated Czech translation

7 years agogdk: Fix Windows and OS X backend for keyevent.string removal
Benjamin Otte [Mon, 30 Jul 2018 18:15:16 +0000 (20:15 +0200)]
gdk: Fix Windows and OS X backend for keyevent.string removal

7 years agotreeview: Fix compiler warning
Benjamin Otte [Mon, 30 Jul 2018 17:58:38 +0000 (19:58 +0200)]
treeview: Fix compiler warning

7 years agogdk: Remove key_event->string and key_event->length
Benjamin Otte [Sat, 28 Jul 2018 18:07:43 +0000 (20:07 +0200)]
gdk: Remove key_event->string and key_event->length

They're unused.

7 years agogdk: Remove gdk_event_get_string()
Benjamin Otte [Sat, 28 Jul 2018 18:07:10 +0000 (20:07 +0200)]
gdk: Remove gdk_event_get_string()

You want to use an IM module to get strings out of keypresses, not some
crude hack that only works on X11 and Wayland anyway.

7 years agoUpdate POTFILES.skip
Piotr Drąg [Mon, 30 Jul 2018 14:31:53 +0000 (16:31 +0200)]
Update POTFILES.skip

7 years agoUpdated Czech translation
Marek Cernocky [Mon, 30 Jul 2018 13:08:57 +0000 (15:08 +0200)]
Updated Czech translation

7 years agocolorpickerportal: Fix memory leak
Mohammed Sadiq [Mon, 30 Jul 2018 05:25:52 +0000 (10:55 +0530)]
colorpickerportal: Fix memory leak

7 years agoinspector: Remove unnecessary cast
Carlos Garnacho [Mon, 30 Jul 2018 12:19:07 +0000 (14:19 +0200)]
inspector: Remove unnecessary cast

Pointed out by Timm.

7 years agoMerge branch 'gtk-4-add-spinner-to-sidebar-row' into 'master'
Matthias Clasen [Mon, 30 Jul 2018 12:04:05 +0000 (12:04 +0000)]
Merge branch 'gtk-4-add-spinner-to-sidebar-row' into 'master'

gtkplacessidebar: Show busy spinner in sidebar row during mount ops

See merge request GNOME/gtk!261

7 years agoMerge branch 'wip/carlosg/event-final-cleanup' into 'master'
Carlos Garnacho [Mon, 30 Jul 2018 11:25:24 +0000 (11:25 +0000)]
Merge branch 'wip/carlosg/event-final-cleanup' into 'master'

Wip/carlosg/event final cleanup

See merge request GNOME/gtk!279

7 years agotests: Port testwidgetfocus to using a motion controller
Carlos Garnacho [Mon, 30 Jul 2018 11:13:24 +0000 (13:13 +0200)]
tests: Port testwidgetfocus to using a motion controller

7 years agodemos: Update changedisplay demo to using GtkGesture
Carlos Garnacho [Thu, 28 Jun 2018 18:32:10 +0000 (20:32 +0200)]
demos: Update changedisplay demo to using GtkGesture

7 years agotests: Port motion-compression to using a motion controller
Carlos Garnacho [Thu, 28 Jun 2018 17:48:00 +0000 (19:48 +0200)]
tests: Port motion-compression to using a motion controller

7 years agogtkscrolledwindow: Use controller for motion capturing
Carlos Garnacho [Wed, 27 Jun 2018 12:18:50 +0000 (14:18 +0200)]
gtkscrolledwindow: Use controller for motion capturing

Perform scrollbar visibility checks through a motion controller,
always based on GtkScrolledView-relative coordinates. The captured
event handler remains though, for a tiny bit of GDK_SCROLL event
handling.

7 years agogtkwindow: Replace captured event handler with motion controller
Carlos Garnacho [Wed, 27 Jun 2018 10:42:06 +0000 (12:42 +0200)]
gtkwindow: Replace captured event handler with motion controller

7 years agotestsuite: Update window test to use gestures when interactive
Carlos Garnacho [Tue, 26 Jun 2018 22:08:56 +0000 (00:08 +0200)]
testsuite: Update window test to use gestures when interactive

7 years agotests: Use gesture in testtreepos
Carlos Garnacho [Tue, 26 Jun 2018 22:03:34 +0000 (00:03 +0200)]
tests: Use gesture in testtreepos

7 years agotests: Use gesture to popup menu in testiconview
Carlos Garnacho [Tue, 26 Jun 2018 21:50:16 +0000 (23:50 +0200)]
tests: Use gesture to popup menu in testiconview

7 years agotests: Update testgrid to use gestures
Carlos Garnacho [Tue, 26 Jun 2018 21:37:48 +0000 (23:37 +0200)]
tests: Update testgrid to use gestures

7 years agodemos: Update hypertext demo to use controllers
Carlos Garnacho [Tue, 26 Jun 2018 20:51:05 +0000 (22:51 +0200)]
demos: Update hypertext demo to use controllers

7 years agodemos: Update search_entry2 demo to use key capturing API
Carlos Garnacho [Tue, 26 Jun 2018 20:35:03 +0000 (22:35 +0200)]
demos: Update search_entry2 demo to use key capturing API

No more GdkEvent juggling.

7 years agodemos: drop "Event axes" demo
Carlos Garnacho [Tue, 26 Jun 2018 20:16:51 +0000 (22:16 +0200)]
demos: drop "Event axes" demo

It's too lowlevel to be practical anymore with gtk4, and there's
the Paint and Gestures demos to demonstrate input capabilities
better than this.

7 years agogtk-demo: Add pad controller handling to "Paint" demo
Carlos Garnacho [Tue, 26 Jun 2018 20:15:27 +0000 (22:15 +0200)]
gtk-demo: Add pad controller handling to "Paint" demo

So it's more lifelike.

7 years agogtktreeview: Use key controller on search entry handling
Carlos Garnacho [Tue, 26 Jun 2018 17:34:38 +0000 (19:34 +0200)]
gtktreeview: Use key controller on search entry handling

Use a distinct key controller so we correctly handle navigation
across matches and search cancellation. As the events are forwarded
to the search_window, those need to be pushed down the entry manually.

7 years agogtktreeview: Replace event vmethod with key controller
Carlos Garnacho [Tue, 26 Jun 2018 15:13:44 +0000 (17:13 +0200)]
gtktreeview: Replace event vmethod with key controller

7 years agogtkcombobox: Use keycontroller on GtkCellEditable implementation
Carlos Garnacho [Tue, 26 Jun 2018 13:44:13 +0000 (15:44 +0200)]
gtkcombobox: Use keycontroller on GtkCellEditable implementation

7 years agogtkentry: Use keycontroller on GtkCellEditable implementation
Carlos Garnacho [Tue, 26 Jun 2018 13:29:54 +0000 (15:29 +0200)]
gtkentry: Use keycontroller on GtkCellEditable implementation

7 years agoinspector: Use gestures/controllers for inspect button
Carlos Garnacho [Tue, 26 Jun 2018 12:56:28 +0000 (14:56 +0200)]
inspector: Use gestures/controllers for inspect button

7 years agogtkcombobox: Use controller to handle combobox keybindings in menus
Carlos Garnacho [Tue, 26 Jun 2018 11:35:26 +0000 (13:35 +0200)]
gtkcombobox: Use controller to handle combobox keybindings in menus

Instead of an ::event callback.

7 years agoMerge branch 'fix-gs-issue-404' into 'master'
Matthias Clasen [Mon, 30 Jul 2018 10:53:22 +0000 (10:53 +0000)]
Merge branch 'fix-gs-issue-404' into 'master'

window: Fallback to CSD titlebar in focus-chain

Closes gnome-software#404

See merge request GNOME/gtk!271

7 years agoMerge branch 'devel-styling' into 'master'
Matthias Clasen [Mon, 30 Jul 2018 10:49:56 +0000 (10:49 +0000)]
Merge branch 'devel-styling' into 'master'

Devel styling

See merge request GNOME/gtk!168

7 years agoAdwaita: devel style
Jakub Steiner [Fri, 11 May 2018 19:02:39 +0000 (21:02 +0200)]
Adwaita: devel style

- nightly/development versions of apps should get a styled
  headerbar.

https://gitlab.gnome.org/GNOME/gtk/merge_requests/142

7 years agowindow: Fallback to CSD titlebar in focus-chain
Andrea Azzarone [Thu, 26 Jul 2018 08:16:32 +0000 (10:16 +0200)]
window: Fallback to CSD titlebar in focus-chain

CSD titlebar are included in the focus-chain. The logic used makes sure that the
initial focus avoids the titlebar, but tabbing around will eventually get there.
This logic fails in case the window has no other focusable widgets apart from
the ones in the header-bar. If this happens keynav focus will be lost. To handle
the above scenario, we need to fallback to focus the header-bar (if any).

Fixes: https://gitlab.gnome.org/GNOME/gnome-software/issues/404
7 years agotreeview: Get rid of child surfaces
Matthias Clasen [Sun, 29 Jul 2018 13:43:00 +0000 (09:43 -0400)]
treeview: Get rid of child surfaces

Drop the drag-highlight and drag surfaces. The highlighting
is broken anyway, so just drop it for now. And for dragging
the header button, we can just position it properly, that
works just as well as this reparenting approach.

7 years agoUpdate Polish translation
Piotr Drąg [Sun, 29 Jul 2018 18:33:24 +0000 (20:33 +0200)]
Update Polish translation

7 years agoMigration guide: mention size-allocate
Matthias Clasen [Sun, 29 Jul 2018 13:10:44 +0000 (09:10 -0400)]
Migration guide: mention size-allocate

Document the new argument here.

Closes: https://gitlab.gnome.org/GNOME/gtk/issues/1245
7 years agoRemove an outdated comment
Matthias Clasen [Sun, 29 Jul 2018 12:45:34 +0000 (08:45 -0400)]
Remove an outdated comment

We no longer have semi-private headers.

7 years agovulkan: fix warning from g_clear_pointer() changes
Christian Hergert [Sat, 28 Jul 2018 17:53:48 +0000 (10:53 -0700)]
vulkan: fix warning from g_clear_pointer() changes

7 years agoimwayland: fix potential leak of attr list
Christian Hergert [Sat, 28 Jul 2018 17:37:21 +0000 (10:37 -0700)]
imwayland: fix potential leak of attr list

This fixes a potential leak of a PangoAttrList that is set when chaining
up to the parent get_preedit_string(). We check to see if the attr list
was created and reuse it instead of leaking the previous value.

7 years agoUpdated Lithuanian translation
Aurimas Černius [Sat, 28 Jul 2018 17:35:20 +0000 (20:35 +0300)]
Updated Lithuanian translation

7 years agoMerge branch 'wip/gtk-menu-popup-no-more' into 'master'
Matthias Clasen [Fri, 27 Jul 2018 18:57:24 +0000 (18:57 +0000)]
Merge branch 'wip/gtk-menu-popup-no-more' into 'master'

Remove legacy GtkMenu popup APIs

See merge request GNOME/gtk!270

7 years agoMerge branch 'color-picker' into 'master'
Matthias Clasen [Fri, 27 Jul 2018 18:35:05 +0000 (18:35 +0000)]
Merge branch 'color-picker' into 'master'

Color picker

See merge request GNOME/gtk!273

7 years agotests: Update a11y tests
Matthias Clasen [Fri, 27 Jul 2018 12:42:16 +0000 (12:42 +0000)]
tests: Update a11y tests

Some things changed.

7 years agoAdd a color picker implementation for gnome-shell
Matthias Clasen [Thu, 26 Jul 2018 22:50:03 +0000 (18:50 -0400)]
Add a color picker implementation for gnome-shell

This adds a GtkColorPicker implementation that talks
to gnome-shell to get a color.

7 years agoAdd a color picker implementation for portals
Matthias Clasen [Thu, 26 Jul 2018 22:48:37 +0000 (18:48 -0400)]
Add a color picker implementation for portals

This adds a GtkColorPicker implementation that talks
to the screnshot portal to get a color.

7 years agocolor editor: Add a color picker button
Matthias Clasen [Thu, 26 Jul 2018 22:46:37 +0000 (18:46 -0400)]
color editor: Add a color picker button

The button is shown if we have a GtkColorPicker implemenation.
Currently, there are none, so the button is never shown.

7 years agoAdd a color picker interface
Matthias Clasen [Thu, 26 Jul 2018 22:45:49 +0000 (18:45 -0400)]
Add a color picker interface

This will be used in the color chooser, in subsequent commits.

7 years agotestsuite: Update the list of used icons
Matthias Clasen [Fri, 27 Jul 2018 17:37:00 +0000 (13:37 -0400)]
testsuite: Update the list of used icons

We use some more now...

7 years agoBring back gtk-orientation icons
Matthias Clasen [Fri, 27 Jul 2018 17:35:29 +0000 (13:35 -0400)]
Bring back gtk-orientation icons

These are used in the page setup dialog, so we can't
just drop them.

7 years agomenu: Remove legacy popup APIs
Jonas Ådahl [Wed, 25 Jul 2018 14:41:15 +0000 (16:41 +0200)]
menu: Remove legacy popup APIs

Remove gtk_menu_popup_for_device() and gtk_menu_popup(), as they cannot
be implemented in a portable manner by all backends. They have been
deprecated for proper alternative APIs for some time, so lets remove
them now before its too late.

While at it, fix the example documentation for mapping a menu.

7 years agotests: Stop using legacy gtk_menu_popup API
Jonas Ådahl [Wed, 25 Jul 2018 14:39:53 +0000 (16:39 +0200)]
tests: Stop using legacy gtk_menu_popup API

Use the new portable APIs, so that menus will be positioned properly on
all backends.

7 years agogtkplacessidebar: Show busy spinner in sidebar row during mount ops
segfault [Sun, 22 Jul 2018 11:47:46 +0000 (13:47 +0200)]
gtkplacessidebar: Show busy spinner in sidebar row during mount ops

7 years agoFix up the resource generation for icons
Matthias Clasen [Fri, 27 Jul 2018 13:02:18 +0000 (09:02 -0400)]
Fix up the resource generation for icons

The script was looking in the wrong subdirectories.

7 years agoAdd emoji category icons
Matthias Clasen [Fri, 27 Jul 2018 11:56:56 +0000 (11:56 +0000)]
Add emoji category icons

This is a temporary measure to make the check-icon-names
test not fail in ci. We still have to figure out the best
way to include a core icontheme with GTK+.

7 years agoKeep picking up icons as resources
Matthias Clasen [Fri, 27 Jul 2018 11:16:44 +0000 (07:16 -0400)]
Keep picking up icons as resources

We may need to revisit this at some point. For now,
keep the mechanism in place.

This is a partial revert of 806c659efe3a8f2ebc4a5201f7152636edf3bb49.

7 years agoUpdated Spanish translation
Daniel Mustieles [Fri, 27 Jul 2018 11:40:20 +0000 (13:40 +0200)]
Updated Spanish translation

7 years agotestsuite: Sort icon names
Matthias Clasen [Fri, 27 Jul 2018 11:11:51 +0000 (07:11 -0400)]
testsuite: Sort icon names

This is easier to keep track of.

7 years agoMerge branch 'patch-1' into 'master'
Timm Bäder [Fri, 27 Jul 2018 04:47:04 +0000 (04:47 +0000)]
Merge branch 'patch-1' into 'master'

doc: Fix there/their typo

See merge request GNOME/gtk!274

7 years agodoc: Fix there/their typo
Alcaro [Fri, 27 Jul 2018 02:28:45 +0000 (02:28 +0000)]
doc: Fix there/their typo

7 years agoMerge branch 'g-clear-pointer-propagate' into 'master'
Timm Bäder [Thu, 26 Jul 2018 07:34:12 +0000 (07:34 +0000)]
Merge branch 'g-clear-pointer-propagate' into 'master'

Remove GDestroyNotify casts in g_clear_pointer() uses

See merge request GNOME/gtk!269

7 years agoMerge branch 'xfixes-timestamp' into 'master'
Matthias Clasen [Wed, 25 Jul 2018 11:21:01 +0000 (11:21 +0000)]
Merge branch 'xfixes-timestamp' into 'master'

x11: Ignore old XFixesSelectionNotify events

Closes #14

See merge request GNOME/gtk!259

7 years agoRemove GDestroyNotify casts in g_clear_pointer() uses
Ernestas Kulik [Wed, 25 Jul 2018 07:00:09 +0000 (10:00 +0300)]
Remove GDestroyNotify casts in g_clear_pointer() uses

GLib master propagates argument types in g_clear_pointer(), which causes
the usual function pointer casts to GDestroyNotify to trip compiler
warnings. Additionally, this commit changes some cleanup functions where
appropriate (wl_data_source_destroy ->
gtk_primary_selection_source_destroy for struct
gtk_primary_selection_source).

7 years agorender: Make gtk_render_icon() use the snapshot API
Benjamin Otte [Tue, 24 Jul 2018 18:23:20 +0000 (20:23 +0200)]
render: Make gtk_render_icon() use the snapshot API

This removes a lot of duplicated code.

7 years agorender: Make gtk_render_frame() and gtk_render_focus() use the snapshot API
Benjamin Otte [Tue, 24 Jul 2018 17:50:19 +0000 (19:50 +0200)]
render: Make gtk_render_frame() and gtk_render_focus() use the snapshot API

This removes a lot of duplicated code.

7 years agoAPI: Remove gtk_render_frame_gap()
Benjamin Otte [Tue, 24 Jul 2018 17:38:17 +0000 (19:38 +0200)]
API: Remove gtk_render_frame_gap()

That function does not make sense at all in a CSS world. So better don't
support it anymore.

7 years agorender: Make gtk_render_background() use the snapshot API
Benjamin Otte [Sat, 14 Jul 2018 19:53:29 +0000 (21:53 +0200)]
render: Make gtk_render_background() use the snapshot API

This removes a lot of duplicated code.

7 years agorender: Make gtk_render_check/arrow/handle() use the snapshot API
Benjamin Otte [Sat, 14 Jul 2018 19:24:42 +0000 (21:24 +0200)]
render: Make gtk_render_check/arrow/handle() use the snapshot API

This removes a lot of duplicated code.

7 years agorender: Make gtk_render_layout() use the snapshot API
Benjamin Otte [Sat, 14 Jul 2018 18:21:15 +0000 (20:21 +0200)]
render: Make gtk_render_layout() use the snapshot API

This removes a lot of duplicated code.

7 years agotestsuite: Fix DragContext => Drag renaming
Benjamin Otte [Sat, 14 Jul 2018 17:02:42 +0000 (19:02 +0200)]
testsuite: Fix DragContext => Drag renaming

7 years agogtk: Move GtkGesture declaration to gtktypes.h
Benjamin Otte [Fri, 29 Jun 2018 02:48:10 +0000 (04:48 +0200)]
gtk: Move GtkGesture declaration to gtktypes.h

That way, headers can use the gesture type without having to include
gtkgesture.h

7 years agodocs: Remove remains of Mir backend
Benjamin Otte [Fri, 22 Jun 2018 16:53:59 +0000 (18:53 +0200)]
docs: Remove remains of Mir backend

7 years agobroadway: Remove unused variable
Benjamin Otte [Tue, 24 Jul 2018 18:55:16 +0000 (20:55 +0200)]
broadway: Remove unused variable

7 years agoUpdate Romanian translation
Daniel Șerbănescu [Tue, 24 Jul 2018 18:09:59 +0000 (18:09 +0000)]
Update Romanian translation

7 years agoMerge branch 'nirbheek/misc-meson-fixes' into 'master'
Nirbheek Chauhan [Tue, 24 Jul 2018 08:29:34 +0000 (08:29 +0000)]
Merge branch 'nirbheek/misc-meson-fixes' into 'master'

Fix broadway backend build and graphene as a subproject

Closes #1197 and #1218

See merge request GNOME/gtk!265

7 years agoUpdated Spanish translation
Daniel Mustieles [Tue, 24 Jul 2018 08:03:20 +0000 (10:03 +0200)]
Updated Spanish translation

7 years agoMerge branch 'just-popover-menu-things' into 'master'
Timm Bäder [Mon, 23 Jul 2018 18:55:55 +0000 (18:55 +0000)]
Merge branch 'just-popover-menu-things' into 'master'

Post-gizmo GtkPopoverMenu fixes

See merge request GNOME/gtk!264

7 years agomeson: Update pango and gdk-pixbuf wrap locations
Nirbheek Chauhan [Mon, 23 Jul 2018 14:44:27 +0000 (20:14 +0530)]
meson: Update pango and gdk-pixbuf wrap locations

See: https://gitlab.gnome.org/GNOME/gtk/issues/1219